﻿<RadioGroup @bind-Value="datePickerSize">
    <Radio RadioButton Value="InputSize.Large">Large</Radio>
    <Radio RadioButton Value="InputSize.Default">Default</Radio>
    <Radio RadioButton Value="InputSize.Small">Small</Radio>
</RadioGroup>
<br />
<DatePicker TValue="DateTime?" Size="datePickerSize"   />
<br />
<DatePicker TValue="DateTime?" Picker="DatePickerType.Month" Size="datePickerSize"  />
<br />
<RangePicker TValue="DateTime?[]" Size="datePickerSize"  />
<br />
<DatePicker TValue="DateTime?" Picker="DatePickerType.Week" Size="datePickerSize"  />

@code {
    private InputSize datePickerSize = InputSize.Default;
}